package com.pactera.madp.cp.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * (CpAddCustomer)实体类
 *
 * @author yushen.qi
 * @since 2022-01-11 18:06:21
 */
@Data
@TableName(value = "cp_add_customer")
@ApiModel(value = "批量邀请客户表")
public class AddCustomerEntity extends BaseEntity<AddCustomerEntity> {
    private static final long serialVersionUID = 659754286521204291L;
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * CRM客户id
     */
    @ApiModelProperty(value = "CRM客户id")
    private String contactId;

    /**
     * CRM客户姓名
     */
    @ApiModelProperty(value = "CRM客户姓名")
    private String contactName;

    /**
     * CRM客户手机号
     */
    @ApiModelProperty(value = "CRM客户手机号")
    private String phone;

    /**
     * CRM客户性别，1-男，2-女
     */
    @ApiModelProperty(value = "CRM客户性别，1-男，2-女")
    private String sex;

    /**
     * CRM管户经理id
     */
    @ApiModelProperty(value = "CRM管户经理id")
    private String employeeId;

    /**
     * CRM管户经理名
     */
    @ApiModelProperty(value = "CRM管户经理名")
    private String employeeName;

    /**
     * 状态，1-已分配，2-未分配，3-已添加
     */
    @ApiModelProperty(value = "状态，1-已分配，2-未分配，3-已添加")
    private String state;

    /**
     * 企业id
     */
    @ApiModelProperty(value = "企业id")
    private Integer corpId;

    /**
     * 同步时间
     */
    @ApiModelProperty(value = "同步时间")
    private LocalDateTime syncTime;

    /**
     * 添加时间
     */
    @ApiModelProperty(value = "添加时间")
    private LocalDateTime addTime;
}
